<!DOCTYPE html>
<html>
{{template "head"}}
<body class="hold-transition login-page">
<div class="login-box">
    <div class="login-logo">
        <a href="#"><b>GShark</b></a>
    </div>
    <div class="login-box-body">
        <p class="login-box-msg">登陆后即可使用</p>
        <form action="/admin/login/" method="post">
            <input type="hidden" name="_csrf" value="{{.csrf_token}}">
            <div style="color: red;">{{.login_error}}</div>
            <div class="form-group has-feedback">
                <input type="text" class="form-control" placeholder="用户名" name="username">
                <span class="glyphicon glyphicon-user form-control-feedback"></span>
            </div>
            <div class="form-group has-feedback">
                <input type="password" class="form-control" placeholder="密码" name="password">
                <span class="glyphicon glyphicon-lock form-control-feedback"></span>
            </div>
            <div class="row">
                <div class="col-xs-8">
                    <div class="checkbox">
                        <label>
                            <input type="checkbox">记住账号
                        </label>
                    </div>
                </div>
                <div class="col-xs-4">
                    <button type="submit" class="btn btn-primary btn-block btn-flat">登 陆</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="/lib/jQuery/jquery-2.2.3.min.js"></script>
<script src="/lib/bootstrap/js/bootstrap.min.js"></script>
</body>
</html>
